<template>
  <div class="alertInformation">
    <div class="alertInformation-item">
      <div class="alertInformation-item-num">0</div>
      <div class="alertInformation-item-title">紧急</div>
    </div>
    <div class="alertInformation-item">
      <div class="alertInformation-item-num">
        <span>2</span>
      </div>
      <div class="alertInformation-item-title">告警</div>
    </div>
  </div>
</template>
<script>
export default {
  name: "alertInformation",
  data() {
    return {};
  },
};
</script>
<style lang="scss" scoped>
.alertInformation {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  background: #0e2551;
  border-radius: 6px;
  > :nth-child(1) {
    background-image: url("../../assets/newEnergyShip/紧急.png");
    background-size: 100% 100%;
    color: #ec3a30;
    > div {
      margin-left: calc(48px * 0.75);
    }
  }
  > :nth-child(2) {
    background-image: url("../../assets/newEnergyShip/告警.png");
    background-size: 100% 100%;
    color: #f8b54c;
    > div {
      margin-right: calc(48px * 0.75);
    }
  }
  &-item {
    width: calc(167px * 0.75);
    height: calc(157px * 0.75);
    font-weight: bold;
    text-align: center;
    &-num {
      font-size: calc(48px * 0.75);
    }
    &-title {
      font-size: calc(18px * 0.75);
    }
  }
}
</style>
